/* 
 * File:   StorageFactoryMock.h
 * Author: alexey
 *
 * Created on 31 Март 2011 г., 17:16
 */

#ifndef STORAGEFACTORYMOCK_H
#define	STORAGEFACTORYMOCK_H
#include <gmock/gmock.h>
#include <IStorage.h>
#include <IServiceLocator.h>

namespace mock
{
    class StorageFactoryMock : public storagemon::IStorageServiceFactory
    {
    public:
        MOCK_METHOD2(RegisterObject,bool (const char* name,
            CreateStorageServiceCallback fn));
        MOCK_METHOD1(UnregisterObject,bool (const char* name));
        MOCK_METHOD6(CreateService, IService* (const char* name,
            const char* p_name, const char* p_path, u_long p_id,
            u_long p_parent_id,
            char md5[MD5_DIGEST_SIZE]));
    };
} // mock


#endif	/* STORAGEFACTORYMOCK_H */

